//
//  DBManager.h
//  DataBase
//
//  Created by  江志磊 on 14-1-8.
//  Copyright (c) 2014年  江 志磊. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "OrderModel.h"

@interface DBManager : NSObject

+(DBManager *)shareManager;
- (void)insertData:(OrderModel *)model;
- (void)deleteDataWithOrderStr:(NSString *)orderStr;
- (void)upDateWithModel:(OrderModel *)model orderStr:(NSString *)orderStr;
//取到所有的数据
- (NSArray*)fetchAllOrders;

@end
